package com.songjg.demo.token;

import javax.servlet.http.HttpServletRequest;

/**
 * @author songjg
 */
public interface TokenServie {
    /**
     * 创建token
     * @return
     */
    public String createToken();
    /**
     * 检验token
     * @param request
     * @return
     */
    public boolean checkToken(HttpServletRequest request) throws Exception
    ;
}
